﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ScoreModel : ISomeModel
{
    public int Date
    {
        get
        {
           return PlayerPrefs.GetInt("Data", -1);
        }

        set
        {
            PlayerPrefs.SetInt("Data", value);
            Debug.Log("数据已经保存到了本地:" + value);
        }
    }
}
